﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace CodePlex.SharePoint.NoSPD
{
    public class NoSPDHttpHandler : IHttpHandler
    {


        #region IHttpHandler Members

        public bool IsReusable
        {
            get { return true; }
        }

        public void ProcessRequest(HttpContext context)
        {
            throw new Exception("Access to this site through SharePoint designer has been blocked");
        }

        #endregion
    }
}
